package com.akhuting.shearphoto.config;

import com.akhuting.shearphoto.controller.IndexController;
import com.jfinal.config.*;
import com.jfinal.kit.PropKit;

/**
 * Config on shearphoto
 *
 * @author <a href="mailto:akhuting@hotmail.com">Alex Yang</a>
 * @date 2015年08月18日 17:43
 */
public class Config extends JFinalConfig {
    @Override
    public void configConstant(Constants me) {
        PropKit.use("config.txt");
        me.setDevMode(true);
    }

    @Override
    public void configRoute(Routes me) {
        me.add("/", IndexController.class);
    }

    @Override
    public void configPlugin(Plugins me) {

    }

    @Override
    public void configInterceptor(Interceptors me) {

    }

    @Override
    public void configHandler(Handlers me) {

    }
}
